#!/bin/bash
if(test -L $0) then auxlink=`ls -l $0 | sed 's/^[^>]*-> //g'`; M_HOME=`dirname $auxlink`/; else M_HOME=`dirname $0`/; fi; cd $M_HOME
. ../before || exit 1
[ -f Makefile ] && sb2 make confclean
echo 'o' > choose_opensource
sb2 ./configure --prefix=/usr -release -shared -fast -no-largefile -qt-sql-sqlite -no-xmlpatterns -no-mmx -no-3dnow -no-sse -no-sse2 -no-svg -no-webkit -qt-zlib -qt-gif -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -make libs -nomake tools -nomake examples -nomake docs -nomake demo -no-nis -no-cups -no-iconv -no-dbus -no-openssl -embedded arm -little-endian -qt-freetype -qt-gfx-linuxfb -qt-gfx-transformed -no-gfx-multiscreen -no-gfx-vnc -no-gfx-qvfb -qt-kbd-usb -no-glib -no-mouse-tslib -confirm-license -xplatform qws/linux-arm-g++ < choose_opensource
sb2 make
sb2 make INSTALL_ROOT=$ROOTFS/ install
touch $ROOTFS/.`basename $0`
